package com.esteel.settlement.pa.packet;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 会员签约解约维护
 * 
 * @author zhangxiuzhi
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Result")
public class BP1303 extends PaPacket{

	private static final long serialVersionUID = 7970327214219127796L;
	
	//功能标志 指定
	public static final int ADD= 1;
	//功能标志 修改
	public static final int MOD=2;
	////功能标志 删除
	public static final int DEL=3;
	
	// 功能标志 1:指定，2：修改，3：删除
	@XmlElement(name = "FuncFlag")
	private int funcFlag;
	// 资金汇总账号
	@XmlElement(name = "SupAcctId")
	private String supAcctId;
	// 会员子账号
	@XmlElement(name = "CustAcctId")
	private String custAcctId;
	// 会员名称
	@XmlElement(name = "CustName")
	private String custName;
	// 会员代码
	@XmlElement(name = "ThirdCustId")
	private String thirdCustId;
	// 会员证件类型
	@XmlElement(name = "IdType")
	private String idType;
	// 会员证件号码
	@XmlElement(name = "IdCode")
	private String idCode;
	// 出/入金账号
	@XmlElement(name = "RelatedAcctId")
	private String relatedAcctId;
	// 账号性质 1：出金账号 	2：入金账号 	3：出金账号&入金账号（默认）
	@XmlElement(name = "AcctFlag")
	private String acctFlag;
	// 转账方式
	@XmlElement(name = "TranType")
	private String tranType;
	// 账号名称
	@XmlElement(name = "AcctName")
	private String acctName;
	// 联行号
	@XmlElement(name = "BankCode")
	private String bankCode;
	// 开户行名称
	@XmlElement(name = "BankName")
	private String bankName;
	// 原出入金账号 若FuncFlag为1或者3时为空
	@XmlElement(name = "OldRelatedAcctId")
	private String oldRelatedAcctId;

	public int getFuncFlag() {
		return funcFlag;
	}

	public void setFuncFlag(int funcFlag) {
		this.funcFlag = funcFlag;
	}

	public String getSupAcctId() {
		return supAcctId;
	}

	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}

	public String getCustAcctId() {
		return custAcctId;
	}

	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getThirdCustId() {
		return thirdCustId;
	}

	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}

	public String getIdType() {
		return idType;
	}

	public void setIdType(String idType) {
		this.idType = idType;
	}

	public String getIdCode() {
		return idCode;
	}

	public void setIdCode(String idCode) {
		this.idCode = idCode;
	}

	public String getRelatedAcctId() {
		return relatedAcctId;
	}

	public void setRelatedAcctId(String relatedAcctId) {
		this.relatedAcctId = relatedAcctId;
	}

	public String getAcctFlag() {
		return acctFlag;
	}

	public void setAcctFlag(String acctFlag) {
		this.acctFlag = acctFlag;
	}

	public String getTranType() {
		return tranType;
	}

	public void setTranType(String tranType) {
		this.tranType = tranType;
	}

	public String getAcctName() {
		return acctName;
	}

	public void setAcctName(String acctName) {
		this.acctName = acctName;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getOldRelatedAcctId() {
		return oldRelatedAcctId;
	}

	public void setOldRelatedAcctId(String oldRelatedAcctId) {
		this.oldRelatedAcctId = oldRelatedAcctId;
	}

	@Override
	protected String[] order() {
		 String[] objs = {"funcFlag","supAcctId","custAcctId","custName","thirdCustId","idType","idCode","relatedAcctId","acctFlag","tranType","acctName","bankCode","bankName","oldRelatedAcctId","reserve"};
		return objs;
	}

	@Override
	protected String tranFunc() {
		return "1303";
	}
	





}
